import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity({ name: 'customer_list' }) // 指定表名
export class Customer {
  @PrimaryGeneratedColumn({ name: '_Identify' })
  id: number;

  @Column()
  customername: string;

  @Column()
  tel: string;
}
